package com.ecut.property_project.mapper.contract;

import com.ecut.property_project.model.contract.ContractRentFree;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ContractRentFreeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ContractRentFree record);

    int insertSelective(ContractRentFree record);

    List<ContractRentFree> selectAll();

    List<ContractRentFree> selectByPage(Integer page, Integer pageSize);

    ContractRentFree selectByPrimaryKey(Integer id);

    List<ContractRentFree> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(ContractRentFree record);

    int updateByPrimaryKey(ContractRentFree record);
}